package com.jintu.portal.pojo.entity.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Data
@Document(collection ="TB_RULE_CHAIN")
public class RuleDto implements Serializable {

    @Id
    private String id;

    @Field("orderId")
    private String orderId;

    @Field("userId")
    private Integer userId;

    @Field("timestamp")
    private Long timestamp;

    @Field("ruleChainMap")
    private RuleChainMap ruleChainMap;

}


